package com.pojo;

public class User {
    private Integer id;
    private String email;
    private String pwd;

    public User(Integer id, String email, String pwd, String nickname, String avatar,String vcode) {
        this.id = id;
        this.email = email;
        this.pwd = pwd;
        this.vcode = vcode;
        this.nickname = nickname;
        this.avatar = avatar;
    }

    public String getVcode() {
        return vcode;
    }

    public void setVcode(String vcode) {
        this.vcode = vcode;
    }

    private String vcode;

    public User(Integer id, String email, String pwd, String nickname, String avatar) {
        this.id = id;
        this.email = email;
        this.pwd = pwd;
        this.nickname = nickname;
        this.avatar = avatar;
    }

    private String nickname;
    private String avatar;

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public User() {
    }

    public User(Integer id, String email, String pwd, String nickname) {
        this.id = id;
        this.email = email;
        this.pwd = pwd;
        this.nickname = nickname;
    }

    public Integer getId() {
        return id;
    }

    public String getEmail() {
        return email;
    }

    public String getPwd() {
        return pwd;
    }

    public String getNickname() {
        return nickname;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", email='" + email + '\'' +
                ", pwd='" + pwd + '\'' +
                ", vcode='" + vcode + '\'' +
                ", nickname='" + nickname + '\'' +
                ", avatar='" + avatar + '\'' +
                '}';
    }
}
